package com.i2works.smartluolong.web.dal.items.dao;

import com.i2works.smartluolong.utils.basecommon.BaseCommonDAO;
import com.i2works.smartluolong.utils.exception.DAOException;
import com.i2works.smartluolong.web.entity.items.ItemsStepsDO;
import com.i2works.smartluolong.web.entity.items.ItemsStepsQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 事项步骤分工持久层接口、
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/11/3 2:21
 */

@Mapper
@Repository("itemStepsDAO")
public interface IItemsStepsDAO extends BaseCommonDAO<ItemsStepsQuery,ItemsStepsDO> {

    //根据事项ID，删除部门分工
    void deleteByItemId(Integer itemId) throws DAOException;
}
